package com.wing.productionPlan.model.response;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wing.productionPlan.model.entity.DemandPlanRecord;
import com.wing.productionPlan.model.entity.ProductionPlan;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * 需求计划 VO
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class DemandPlanVO {

    /**
     * 需求计划 ID，自增主键
     */
    @TableField(value = "id")
    private Long id;

    /**
     *客户ID
     */
    private String customerId;

    //客户名称
    private String customerName;

    /**
     *产品ID
     */
    private String customerProductId;

    private String skuCode;
    private String skuName;
    private String skuSpec;

    private String skuNameSpec;
    /**
     * 生产线
     */
    private String productLineName;
    /**
     * 采购组织
     */
    private String purchaseTissue;
    /**
     * 采购组名称
     */
    private String purchaseTissueName;
    /**
     * 物料单位
     */
    private String defaultUnit;
    /**
     * 物料类型
     */
    private String materialTypeId;

    private String materialTypeName;
    /**
     * 计划接收时间
     */
    private String planReceiveTime;
    /**
     * 三方仓库存
     */
    private String tripartiteStorage;
    /**
     * 近三个月平均到货
     */
    private String averageArrival;

    /**
     * 计划表
     */
    private List<DemandPlanRecord> planRecords;


}
